package br.quest.activities;

import br.quest.AbstractActivity;
import br.quest.PreferenceManager;
import br.quest.R;
import br.quest.gps.GPS;
import android.content.Intent;
import android.os.Bundle;

public class MainActivity extends AbstractActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        GPS.configure(this);
        PreferenceManager.configure(this);
        setActionBar(new int[] {ACTION_OPTIONS, ACTION_NEW_ROUTE});
        startActivity(new Intent(this, RouteActivity.class));
    }

    protected int getLayoutId() {
        return R.layout.main;
    }

}